home *** CD-ROM | disk | FTP | other *** search
- .TH TBSPLINE
- 6 "IRIT Version 6.0"
- .SH NAME
- TBSPLINE
-
-
-
- TrivarType TBSPLINE( NumericType UOrder,
- NumericType VOrder,
- NumericType WOrder,
- ListType CtlMesh,
- ListType KnotVectors )
-
- Creates a Bspline trivariate with the provided UOrder, VOrder
- and WOrder orders, the control mesh CtlMesh, and the three knot
- vectors in KnotVectors.
- CtlMesh is a list of planes, each of which is a list of rows, each
- of which is a list of control points. All control points must be of point
- type (E1-E5, P1-P5), or regular PointType defining the trivariate's control
- mesh. Trivariate's point type will be of a space which is the union of the
- spaces of all points.
- KnotVectors is a list of three knot vectors. Each knot vector is a
- list of NumericType knots of length #CtlPtList plus the Order.
- If, however, the length of the knot vector is equal to #CtlPtList +
- Order + Order - 1} the curve is assumed periodic.
- The knot vector may also be a list of a single constant KV_OPEN or
- KV_FLOAT or KV_PERIODIC, in which a uniform knot vector with the
- appropriate length and with open, floating or periodic end condition
- will be constructed automatically.
-
- Example:
-
- TV = TBSPLINE( 2, 2, 2,
- list( list( list( ctlpt( E3, 0.1, 0.1, 0.0 ),
- ctlpt( E3, 0.2, 0.5, 1.1 ),
- ctlpt( E3, 0.3, 0.1, 2.2 ) ),
- list( ctlpt( E3, 0.4, 1.3, 0.5 ),
- ctlpt( E3, 0.5, 1.7, 1.7 ),
- ctlpt( E3, 0.6, 1.3, 2.9 ) ),
- list( ctlpt( E3, 0.7, 2.4, 0.5 ),
- ctlpt( E3, 0.8, 2.6, 1.4 ),
- ctlpt( E3, 0.9, 2.8, 2.3 ) ) ),
- list( list( ctlpt( E3, 1.1, 0.1, 0.5 ),
- ctlpt( E3, 1.3, 0.2, 1.7 ),
- ctlpt( E3, 1.5, 0.3, 2.9 ) ),
- list( ctlpt( E3, 1.7, 1.2, 0.0 ),
- ctlpt( E3, 1.9, 1.4, 1.2 ),
- ctlpt( E3, 1.2, 1.6, 2.4 ) ),
- list( ctlpt( E3, 1.4, 2.3, 0.9 ),
- ctlpt( E3, 1.6, 2.5, 1.7 ),
- ctlpt( E3, 1.8, 2.7, 2.5 ) ) ) ),
- list( list( KV_OPEN ),
- list( KV_OPEN ),
- list( KV_OPEN ) ) );
-
- constructs a trilinear Bspline trivariate with open end conditions.
-